package data;

import java.io.Serializable;

import org.omg.CORBA.Any;

public class DataObject implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Any data;
	private String ddd="";

	public DataObject() {
		super();
	}

	public DataObject(Any data) {
		super();
		this.data = data;
	}

	public Any getData() {
		return data;
	}

	public void setData(Any data) {
		this.data = data;
	}
	
	public void setString(String s){
		//data.insert_string(s);
		ddd = s;
		//System.out.println("ins : " + s + " : " + data.type());
	}
	
	public String getString(){
		//System.out.println(data.type() + " : " + data.extract_Value());
		//return data.extract_wstring();
		return ddd;
	}

}
